<!--
 * @Description: 
 * @Author: Wen
 * @Date: 2024-11-05 15:02:33
 * @LastEditors: Wen
 * @LastEditTime: 2024-11-05 15:12:09
 * 太棒了，又坚持了一天
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>浮动布局</title>
    <style>
        div{
            font-size: 20px;
            width: 200px;
            height: 200px;
            border: 1px solid rgb(244, 178, 220);
            /* display: inline-block; */
        }
        #div1,#div2{
            float: left;
        }
        #div3{
            float: right;
            
        }
    </style>
</head>
<body>
    <div id="div1">div</div>
    <div id="div2">div</div>
    <div id="div3">已注册，点击此处登录</div>
</body>
</html>